import { defineStore } from "pinia";

export const useAppStore = defineStore({
  id: "App",
  state: () => ({
    isCollapse: false,
    size: "default",
    a: [],
  }),
  actions: {
    toggleCollapse() {
      this.isCollapse = !this.isCollapse;
    },
    setSize(size: string) {
      this.size = size;
    },
  },
});
